Skip to content

Update dependency passport to ^0.7.0#10

Open
mend-for-github-com[bot] wants to merge 1 commit intomasterfrom
whitesource-remediate/passport-0.x
Open

Update dependency passport to ^0.7.0#10
mend-for-github-com[bot] wants to merge 1 commit intomasterfrom
whitesource-remediate/passport-0.x

Conversation

@mend-for-github-com
Copy link
Copy Markdown
Contributor

@mend-for-github-com mend-for-github-com bot commented Nov 7, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
passport (source) ^0.4.0^0.7.0 age adoption passing confidence

Release Notes

jaredhanson/passport (passport)

v0.7.0

Compare Source

Changed
  • Set req.authInfo by default when using the assignProperty option to
    authenticate() middleware. This makes the behavior the same as when not using
    the option, and can be disabled by setting authInfo option to false.

v0.6.0

Compare Source

Added
  • authenticate(), req#login, and req#logout accept a
    keepSessionInfo: true option to keep session information after regenerating
    the session.
Changed
  • req#login() and req#logout() regenerate the the session and clear session
    information by default.
  • req#logout() is now an asynchronous function and requires a callback
    function as the last argument.
Security
  • Improved robustness against session fixation attacks in cases where there is
    physical access to the same system or the application is susceptible to
    cross-site scripting (XSS).

v0.5.3

Compare Source

Fixed
  • initialize() middleware extends request with login(), logIn(),
    logout(), logOut(), isAuthenticated(), and isUnauthenticated() functions
    again, reverting change from 0.5.1.

v0.5.2

Compare Source

Fixed
  • Introduced a compatibility layer for strategies that depend directly on
    passport@0.4.x or earlier (such as passport-azure-ad), which were
    broken by the removal of private variables in passport@0.5.1.

v0.5.1

Compare Source

Fixed
  • Introduced a compatibility layer for strategies that depend directly on
    passport@0.4.x or earlier (such as passport-azure-ad), which were
    broken by the removal of private variables in passport@0.5.1.

v0.5.0

Compare Source

Changed
  • initialize() middleware extends request with login(), logIn(),
    logout(), logOut(), isAuthenticated(), and isUnauthenticated()
    functions.
Removed
  • login(), logIn(), logout(), logOut(), isAuthenticated(), and
    isUnauthenticated() functions no longer added to http.IncomingMessage.prototype.
Fixed
  • userProperty option to initialize() middleware only affects the current
    request, rather than all requests processed via singleton Passport instance,
    eliminating a race condition in situations where initialize() middleware is
    used multiple times in an application with userProperty set to different
    values.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by Mend label Nov 7, 2023
@mend-for-github-com mend-for-github-com bot changed the title Update dependency passport to ^0.6.0 Update dependency passport to ^0.7.0 Mar 30, 2025
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/passport-0.x branch from 37eef37 to 7b4ea6b Compare March 30, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security fix Security fix generated by Mend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants